﻿using UnityEngine;
using System.Collections;
using GameData;
using UnityEngine.UI;

public class VIPNum : MonoBehaviour
{

    public GameObject maskObj;
    public Text text;
    public NumberInfo NumberInfo;
    public GameObject pickObj;


    public void SetNumber(NumberInfo numberInfo)
    {
        NumberInfo = numberInfo;
        text.text = "号码:" +  numberInfo.value;
        maskObj.SetActive(numberInfo.isVIP);

    }
    //

    public void SethasPick(bool res)
    {
        pickObj.SetActive(res);
    }

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}



}
